//
//  AMMessageController.m
//  WeiDu_1_0
//
//  Created by foguo-mac-1 on 01/07/16.
//  Copyright (c) 2016 WeiDu Energy Tech. All rights reserved.
//

#import "HOMessageController.h"
#import "HOConstants.h"
#import "Logger.h"
#import "HOUIMgr.h"
#import "HOMessageDataModule.h"

@implementation HOMessageController
- (void)getNewMessage
{
	[self sendRequestWithParams:@{kHO_FIELD_Action:kHO_ACTION_GetMyMessages,
								  kHO_FIELD_MaxID:[NSNumber numberWithInt:0]}];
}
- (BOOL)hasUnreadMsg
{
    return [((HOMessageDataModule *)dataModule) hasUnreadMsg];

}

@end
